#ifndef __FDOWN_H_
#define __FDOWN_H_

#include "fboot.h"
#if (FBOOT_USING_FDOWN == 1)


#if (FDOWN_USING_HTTP == 1)

int fdown_http2fal(const char *http_url, const char *fal_part_name);


#if (FBOOT_USING_FILESYSTEM == 1)

int fdown_http2fs(const char *http_url, const char *file_path);

#endif /* FBOOT_USING_FILESYSTEM */

#endif /* FDOWN_USING_HTTP */

#if (FDOWN_USING_YMODEM == 1)

int fdown_ym2fal(const char *device_name, const char *fal_part_namet);


#if (FBOOT_USING_FILESYSTEM == 1)

int fdown_ym2fs(const char *device_name, const char *file_path);

#endif /* FBOOT_USING_FILESYSTEM */

#endif /* FDOWN_USING_YMODEM */


#endif /* FBOOT_USING_FDOWN */

#endif
